<?php /* @var $view Model3_View */ ?>

<h2>Adoptar</h2>

<?php 
    foreach ($view->pets as $pet) {
        // definir un perfil corto     
?>
<div>
    <table border="0" width="100%">
    <tr>
  
        <td width="100%" colspan="2"><h4><?php echo $pet->name;?></h4></td>

  </tr>

  <tr>

      <td width="25%" rowspan="4"><img src=""/></td>
    
    <td width="75%" rowspan="4">"<?php echo $pet->description;?>"</td>

  </tr>
 </table>
</div>
        <a href="<?php echo $view->url(array('controller'=>'PetProfile','action'=>'index','petId'=> $pet->id));?>">Ver perfil</a>
        <?php
    }
?>